package com.qth.valet;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

import java.net.InetAddress;
import java.net.UnknownHostException;

@SpringBootApplication
@EnableAsync
@EnableScheduling
@MapperScan("com.qth.valet.mapper")
public class ValetApplication {

    public static void main(String[] args) throws UnknownHostException {
        SpringApplication.run(ValetApplication.class, args);
        System.err.println(InetAddress.getLocalHost().getHostAddress());
    }

}
